-- this is referanced by TriggerManager

-- the name is very importnant it HAS to be the same as the
--	objName variable in the XML DotScene file

-- 	the .lua file name does'nt have to be the same as the objects
--	I'm just doing it because it's less confusing
--	This means we have have all the trigger scripts related to a puzzle
--	can the in one lua file

--	Triggers can have 5 functions but its not neccerary to have them
--	The 5 functions are:
--		*	Trigger_OnEnter
--		*	Trigger_OnInside
--		*	Trigger_OnExit
--		*	Trigger_OnEnterOrExit
--		*	Trigger_OAll

--init table
TestTrigger = {}

TestTrigger["Trigger_OnEnter"] = function(actor)
	assert(actor,"Actor is NIL!")
	vec = PhysicsSys:convertOgreVec3(Vector3(0,1000,0))
	bod = actor:getBody()
	bod:addForceImpulse(vec)

	--you can even change states
	--GameApp:startState(MENU_STATE)
	print("GOT Triggered2!!")
end
